<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
网页的首页
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.19.2/axios.js"></script>
<script>
    console.log("hello");
    axios({
        method:"get",
        url:"hello"
    }).then(res=>{
        //获得接口传递过来的数据
        console.log(res);
    });
</script>
</body>
</html>